package com.dengqi.mymodule.activity.rxandroid;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.dengqi.mymodule.BaseActivity;
import com.dengqi.mymodule.R;


/**
 * rx使用
 */
public class RxSecondActivity extends BaseActivity {

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_rxandroid_second);

    }

    public void onBtn1(View view){
        Intent intent = new Intent();
        intent.putExtra("name", "valu8e");
        setResult(1000, intent);
        finish();
    }



}
